package com.example.demo.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 图片表
 * </p>
 *
 * @author Fyly
 * @since 2019-04-12
 */
public class Jshop_images implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图片ID
     */
    @TableId("id")
    private Integer id;
    /**
     * 图片名称
     */
    @TableField("name")
    private String name;
    /**
     * 绝对地址
     */
    @TableField("url")
    private String url;
    /**
     * 物理地址
     */
    @TableField("path")
    private String path;
    /**
     * 存储引擎
     */
    @TableField("type")
    private String type;
    /**
     * 创建时间
     */
    @TableField("ctime")
    private Date ctime;
    /**
     * 删除标志 有数据代表删除
     */
    @TableField("isdel")
    private Long isdel;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Long getIsdel() {
        return isdel;
    }

    public void setIsdel(Long isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "Jshop_images{" +
        "id=" + id +
        ", name=" + name +
        ", url=" + url +
        ", path=" + path +
        ", type=" + type +
        ", ctime=" + ctime +
        ", isdel=" + isdel +
        "}";
    }
}
